package com.example.tool.Oasign;

import lombok.Data;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName Controller
 * @Author 13403
 * @Date 2022/8/917:14
 * @Version 1.0
 **/

@RestController(value = "/getdata")
public class Controller {

    @GetMapping(value = "/world")
    public String getdata(String date){
        System.out.println(date);
        return date;
    }

}
